package com.lai.hospital.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lai.hospital.dto.DoctorScheduleDTO;
import com.lai.hospital.entity.DoctorSchedule;
import com.lai.hospital.vo.ConditionVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * @author : lai
 * @version V1.0
 * @Project: hospital-springboot
 * @Package com.lai.hospital.dao
 * @Description: 医生排班dao
 * @date Date : 2023年02月16日 23:44
 */
@Repository
public interface DoctorScheduleDao extends BaseMapper<DoctorSchedule> {

    List<DoctorScheduleDTO> listDoctorScheduleWeek(@Param("current") Long limitCurrent, @Param("size")Long size, @Param("conditionVO")ConditionVO conditionVO, @Param("startTime") String startTime, @Param("endTime")String endTime,@Param("idList") List<Integer> idList);

    //List<DoctorScheduleDTO> getDoctorScheduleByDoctorIdAndTime(@Param("doctorId")Integer doctorId, @Param("appointmentTime")String appointmentTime);
}
